﻿using System.ComponentModel.DataAnnotations;

namespace Shop.Model.Dto.Mine;

public class DrawingsDto
{
    /// <summary>
    /// 类型：
    /// 1：微信
    /// 2：银行卡
    /// </summary>
    [Required(ErrorMessage = "提现类型不可为空")]
    public int Type { get; set; }
    
    /// <summary>
    /// 提现卡号Id
    /// </summary>
    public long? Card { get; set; }
    
    /// <summary>
    /// 变动金额
    /// </summary>
    [Required(ErrorMessage = "变动金额不可为空")]
    public decimal Amount { get; set; }
    
    /// <summary>
    /// 密码
    /// </summary>
    [Required(ErrorMessage = "密码不可为空")]
    public string Pass { get; set; }
}